package com.boot.mapper;

import com.boot.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> list(@Param("start")Integer start,
                    @Param("pageSize")Integer pageSize);

    int count();

}
